package com.baseproject.slidingmenu;

import android.app.Activity;
import android.view.View;

/**
 * Created by hp on 2017/7/19.
 */

public interface ISlidingLayout {

    /**
     * layoutId顺序为左侧边栏，右侧边栏
     * @param layoutIds
     */
    void adjustContentAndSlidingView(Activity activity, Object ...layoutIds);

    void setContentFadeColor(int colorId);

    /**
     *
     * @param type 0:左侧边栏； 1：右侧边栏
     * @return
     */
    boolean isOpen(int type);

    void open(int type);

    void close(int type);

    void addSlidingListener(ISlidingListener slidingListener);

    View getSlidingLayout(int type);

    void setSlidingEnable(int type, boolean ifEnable);

}
